<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>我的红包</title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.css" />
  <link rel="stylesheet" type="text/css" href="{$resource_basic}/css/webapp.css" />
  <script type="text/javascript" src="{$resource_basic}/js/jquery.min.js"></script>
  <script type="text/javascript" src="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.js"></script>
  
  <style>
      
      body,.blend-panel{background-color: #fafcfb;}
      /*.blend-suggest-wrap,.blend-suggest-wrap2{background-color: #03ab9e;}*/
      
      [class*=blend-col-]{
          background-color: #fafcfb;
          border: none;
          text-align: left;
          font-size: 1.5rem;
      }
      .blend-card{
          border-bottom:none;
      }
      .redpack_list{
          background: url("{$resource_basic}/img/redpack/redpack_list_bg.png");
          background-repeat: no-repeat;
          background-size: 100%;
          min-height: 10.5rem;
          position: relative;
      }
      .main-content{ background-color: #fafcfb;}
      .blend-suggest-input-gray{height: 40px;}
      .blend-suggest-input-gray input{height: 30px; font-size: 1.8rem;}
      .main-content img{width: 100%;}
      .blend-button-large{ background-color: #03ab9e;}
      .blend-card-img-view{
          width: 7rem;
          height: 45px;
          color: #f8a00a;
      }
      .blend-card-sub-title{
          font-size: 1.2rem;
      }
      @media screen and (max-width: 320px)
      {
          .redpack_list{
              min-height: 8.5rem;
          }
          .blend-card-sub-title{
                font-size: 0.9rem;
            }
      }
      .redpack_cash{
          font-size: 4rem;
          line-height: 7rem;
      }
      .be_chosen_icon{
          position: absolute;
          float: right;
          width: 20px;
          height: 20px;
          right: 1rem;
          display: none;
          top:10px;
          
      }
      .be_chosen_icon img{
          width: 100%;
          height: 100%;
      }
      .blend-card-content-view{

          float: right;
          position: absolute;
          right: 5px;
          top:10px;
      }
      .redpack_list{

          position: relative;
      }
      
      
  </style>
</head>

<body>
    <header data-blend-widget="header" class="blend-header header_title_bg">
        <span class="blend-header-left">
            <a class="blend-header-item  blend-button" href="javascript:history.go(-1);"><img src="{$resource_basic}/img/btn_back.png" style="height:28px;"/></a>
        </span>
        <span class="blend-header-title">
            <a class="blend-header-item">我的红包</a>
        </span>
        <span class="blend-header-right">
            
        </span>
    </header>
    
    <div class="main-content">
        <div class="blend-grid blend-container-fluid">
            <div class="blend-row">
                <span class="blend-col-6"></span>
                <span class="blend-col-5 blend-col-offset-1" style=" text-align: right;">红包说明</span>
            </div>
        </div>
        
        <volist name='redpack_res' id='vo'>
        <div class="blend-grid blend-container-fluid redpack_list_box" data-rpid="{$vo.rp_id}" data-rp-cash="{$vo.cash}">
            <div class="blend-row">
                <div class="blend-col-10 blend-col-offset-1">
                    <div class="blend-card blend-card-no-icon redpack_list">
                        <div class="blend-card-img-view">
                            ￥<label class="redpack_cash">{$vo.cash}</label>.0
                        </div>
                        <div class="blend-card-content-view">
                            <div class="blend-card-title">
                                健康红包
                            </div>
                            <div class="blend-card-sub-title">限发起/跟投众测项目时使用</div>
                            <div class="blend-card-sub-title">有效期{$vo.ctime|date="Y.m.d",###}至{$vo.etime|date="Y.m.d",###}</div>
                            
                        </div>
                        
                        <div class="be_chosen_icon be_chosen_item{$vo.rp_id}">
                            <img src="{$resource_basic}/img/redpack/redpack_chosen.png" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </volist>
        
        

    </div>
    
    
    
    
    <!--<a class="blend-button blend-button-primary blend-button-large" href="{:U('M/News/comments',array('fdid'=>$get_new['id'],'pid'=>0))}">评论入口</a>-->
<!--底部菜单end-->
<script>
    $(function(){
        //判断一下，选择的红包出现图标
        var rpid = sessionStorage.rp_id;
        $(".be_chosen_item"+rpid).show();
        
        $(".redpack_list_box").click(function(){
            var rp_id = $(this).attr("data-rpid");
            var rp_cash = $(this).attr("data-rp-cash");
            sessionStorage.rp_id = rp_id;
            sessionStorage.rp_cash = rp_cash;
            history.back(-1);
        });
    });
    
</script>


<?php require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1256622573).'" width="0" height="0"/>';?>
<include file="Index/foot_analyze"/>
</body>
</html>